'''
    1.接收数据，绘制图形
'''
import threading
import pyqtgraph as pg
import numpy as np
import array
import time

from PyQt5.QtWidgets import *

class MyGraph(QWidget):

    def __init__(self):
        self.plotWin = pg.GraphicsLayoutWidget()
        self.plotWin.setMinimumHeight(200)


    def plotData(self,curve,data):
        curve.setData(data)











